package com.crazyread.service;

import com.crazyread.model.domain.Book;
import com.crazyread.model.domain.BookTypeRanking;
import com.crazyread.model.domain.Statistic;

import java.util.List;

public interface StatisticService {
    //更新书籍点击量
    public void updateStatistics(Book book);

    //删除书籍对应的统计数据
    public void delStatistics(Integer book_id);

    public List<Statistic> selectStatistic();
    public List<BookTypeRanking> selectBookTypeRanking(int typeid);

    public List<Book> selectBookRanking();
}
